import request from './request';

// 公共post方法
export function fetchPost(url, params){
	return request.post(url, params).then(res => res);
}

// 获取图形验证码
export function getImgCode(params){
	return request.post('/sys/login/getImgCode', params).then(res => res);
}
